package com.simtop.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

/**
 * @ClassName Permission
 * @Description TODO   权限
 * @Author lvyongwei
 * @Date 2020-09-15 13:06
 **/
@Mapper
public interface PermissionMapper {

    /**
     * 根据用户id获取用户所有的权限
     * @return
     */
    public Set<String> getPermsByUserId(Long userId);
}
